<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<a href="${requestScope.page.url}?curPage=1">首页</a>
<c:if test="${requestScope.page.curPage>1}">
    <a href="${requestScope.page.url}?curPage=${requestScope.page.curPage-1}">上一页</a>
</c:if>

<c:if test="${requestScope.page.curPage<requestScope.page.totalPage}">
    <a href="${requestScope.page.url}?curPage=${requestScope.page.curPage+1}">下一页</a>
</c:if>
<a href="${requestScope.page.url}?curPage=${requestScope.page.totalPage}">首页</a>
共【${requestScope.page.totalPage}】页/共【${requestScope.page.totalCount}】条